package com.six.remark.dao;

import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.six.core.entity.Remark;
import com.six.core.vo.Result;
import com.six.remark.vo.SearchRemark;

import java.util.List;

/**
 * ClassName:RemarkDao
 * Description:
 * date:2023/2/27 16:30
 *
 * @since JDK 1.8
 */
public interface RemarkDao extends BaseMapper<Remark> {
    List<Remark> findAll(SearchRemark searchRemark);

    List<Remark> findAllRemark(String goodsid);
    List<Remark> findMyRemark(Integer userid,String goodsid);
    int insertRemark(Remark remark);
}
